package com.waves.task.event;

import com.waves.core.web.domain.dto.MessageRecordInsertDTO;
import com.waves.task.domain.pojo.GeoEventPOJO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class TaskMessageRecordEvent extends ApplicationEvent {

    private final MessageRecordInsertDTO pojo;

    public TaskMessageRecordEvent(Object source, MessageRecordInsertDTO pojo) {
        super(source);
        this.pojo = pojo;
    }
}
